<template>
  <div class="navigationCode">
    <router-link to="" class="li" v-for="(item,index) in variablesObject" :key="index">
      <img :src="item.imgLink" alt />
      <p>{{item.name}}</p>
    </router-link>
  </div>
</template>
<script>
export default {
  props: {
    variablesObject: {
      type: Array,
      default: () => {
        return [];
      }
    }
  },
  data() {
    return {};
  },
  methods: {},
  mounted() {}
};
</script>
<style lang="scss" scoped>
.navigationCode {
  width: 355px;
  padding: 10px;
  background: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  .li {
    width: 25%;
    margin-top: 10px;
    text-align: center;
    display: block;
    color: #999;
    img {
      width: 40px;
      height: 40px;
    }
    p {
      margin-top: 5px;
    }
  }
}
</style>
